package com.itany.mapper;

import com.itany.pojo.Permission;
import com.itany.vo.UserPermissionVo;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2019-09-24 上午9:17
 * Description：<描述>
 */
public interface PermissionMapper {
    List<Permission> selectAll(Permission permission);

    List<Permission> selectAllParent();

    void updatePermission(Permission permission);

    List<Permission> selectAllPermission();

    List<Permission> selectAllByParentId();


    List<UserPermissionVo> selectAllByParentIdAndId(Integer id);

}
